﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Applay
{
    public class ValidationState : IValidationState
    {
        private bool isValid;

        public ValidationState()
        {
            this.isValid = true;
        }

        public void AddError(string message, params string[] keys)
        {
            this.isValid = false;
        }

        public bool IsValid
        {
            get { return this.isValid; }
        }
    }
}
